use clap::Parser;
use std::path::PathBuf;

#[derive(Parser, Debug, Clone)]
#[command(author="ws", version="0.0.1", about="doc", long_about = None)]
#[command(next_line_help = true)]
pub struct Config {
    /// 日志文件路径，默认为当前目录
    // #[arg(short, long, default_value = r"D:\code\arrange\data\data.log")]
    #[arg(short, long, default_value = ".")]
    pub path: PathBuf,

    /// 车辆id
    #[arg(long)]
    pub id: Option<String>,

    /// 角色-主车：av-从车：mvSimulation
    #[arg(long, default_value = "av")]
    pub role: String,
}
